﻿/**
 * 
 */
package com.alstudio.pojo.module.local;

import java.io.Serializable;

/**
 * @author Alonso
 *
 */
public class RechargeInfo implements Serializable {

	public static final int YEEPAY = 1;
	public static final int ALIPAY = 2;
	public static final int GOOGLE_PAY = 3;
	public static final int UPPPAY = 4;
	
	// 充值类型
	private int type = 0;
	//订单号
	private String orderNumber = "";
	//充值id号
	private String productid = "";
	//充值金额
	private String money = "";
	//充值渠道
	private String frpId = "";
	//服务器的接收充值结果的回调地址
	private String cbURL = "";
	//充值卡面额
	private String cardAmt = "";
	//充值卡卡号
	private String cardNo = "";
	//充值卡密码
	private String cardPwd = "";
	//业务类型
	private final String md = "ChargeCardDirect";
	//商户编号
	private final String merId = "10011679671";
	// 是否较验订单金额
	private final String verifyAmt = "true";
	//启用应答机制
	private final String needResponse = "1";
	
	/******************************************************支付通道*********************************************************************/
	//骏网一卡通
	public static final String JUNNET = "JUNNET";
	//盛大卡
	public static final String SNDACARD = "SNDACARD";
	//神州行
	public static final String SZX = "SZX";
	//征途卡
	public static final String ZHENGTU = "ZHENGTU";
	//Q币卡
	public static final String QQCARD = "QQCARD";
	//联通卡
	public static final String UNICOM = "UNICOM";
	//久游卡
	public static final String JIUYOU = "JIUYOU";
	//易宝e卡通
	public static final String YPCARD = "YPCARD";
	//网易卡
	public static final String NETEASE = "NETEASE";
	//完美卡
	public static final String WANMEI = "WANMEI";
	//搜狐卡
	public static final String SOHU = "SOHU";
	//电信卡
	public static final String TELECOM = "TELECOM";
	//纵游一卡通
	public static final String ZONGYOU = "ZONGYOU";
	//天下一卡通
	public static final String TIANXIA = "TIANXIA";
	//天宏一卡通
	public static final String TIANHONG = "TIANHONG";
	/***********************************************************************************************************************************/
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6689866635769759896L;
	
	public RechargeInfo() {
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * 设定充值类型
	 * @param order 订单号
	 * @author Alonso
	 */
	public void setType(int type)
	{
		this.type = type;
	}
	
	/**
	 * 获取订单号
	 * @return 订单号
	 * @author Alonso
	 */
	public int getType()
	{
		return this.type;
	}
	
	/**
	 * 设定订单号
	 * @param order 订单号
	 * @author Alonso
	 */
	public void setOrderNumber(String order)
	{
		this.orderNumber = order;
	}
	
	/**
	 * 获取订单号
	 * @return 订单号
	 * @author Alonso
	 */
	public String getOrderNumber()
	{
		return this.orderNumber;
	}
	
	/**
	 * 设定充值项目id
	 * @param productid 充值项目id
	 * @author Alonso
	 */
	public void setProductId(String productid)
	{
		this.productid = productid;
	}
	
	/**
	 * 获取充值项目id
	 * @return 充值项目id
	 * @author Alonso
	 */
	public String getProductId()
	{
		return this.productid;
	}
	
	/**
	 * 设定充值金额
	 * @param m 充值金额
	 * @author Alonso
	 */
	public void setMoney(String m)
	{
		this.money = m;
	}
	
	/**
	 * 获取充值金额
	 * @return 充值金额
	 * @author Alonso
	 */
	public String getMoney()
	{
		return this.money;
	}
	
	/**
	 * 设定充值渠道
	 * @param frpId 充值渠道
	 * @author Alonso
	 */
	public void setFrpId(String frpId)
	{
		this.frpId = frpId;
	}
	
	/**
	 * 获取充值渠道
	 * @return 充值渠道
	 * @author Alonso
	 */
	public String getFrpId()
	{
		return this.frpId;
	}
	
	/**
	 * 设置服务器的接收充值结果的回调地址
	 * @param url 服务器的接收充值结果的回调地址
	 * @author Alonso
	 */
	public void setCallbackURL(String url)
	{
		this.cbURL = url;
	}
	
	/**
	 * 获取服务器的接收充值结果的回调地址
	 * @return 服务器的接收充值结果的回调地址
	 * @author Alonso
	 */
	public String getCallbackURL()
	{
		return this.cbURL;
	}

	/**
	 * 设定充值卡面额
	 * @param m 充值卡面额
	 * @author Alonso
	 */
	public void setCardAmt(String m)
	{
		this.cardAmt = m;
	}
	
	/**
	 * 获取充值卡面额
	 * @return 充值卡面额
	 * @author Alonso
	 */
	public String getCardAmt()
	{
		return this.cardAmt;
	}

	/**
	 * 设定充值卡号
	 * @param no 充值卡号
	 * @author Alonso
	 */
	public void setCardNo(String no)
	{
		this.cardNo = no;
	}
	
	/**
	 * 获取充值卡号
	 * @return 充值卡号
	 * @author Alonso
	 */
	public String getCardNo()
	{
		return this.cardNo;
	}
	
	/**
	 * 设定充值卡密码
	 * @param pwd 密码
	 * @author Alonso
	 */
	public void setCardPwd(String pwd)
	{
		this.cardPwd = pwd;
	}
	
	/**
	 * 获取充值卡密码
	 * @return 充值卡密码
	 * @author Alonso
	 */
	public String getCardPwd()
	{
		return this.cardPwd;
	}

	/**
	 * 获取业务类型。缺省为非银行卡充值
	 * @return 业务类型
	 * @author Alonso
	 */
	public String getMD()
	{
		return this.md;
	}
	
	/**
	 * 获取商户编号 
	 * @return 商户编号
	 * @author Alonso
	 */
	public String getMerId()
	{
		return this.merId;
	}
	
	/**
	 * 获取校验订单金额状态值
	 * @return 校验订单金额状态值
	 * @author Alonso
	 */
	public String getVerifyAmt()
	{
		return this.verifyAmt;
	}
	
	/**
	 * 获取应答机制启用状态
	 * @return 应答机制启用状态
	 * @author Alonso
	 */
	public String getResponseState()
	{
		return this.needResponse;
	}
}
